package cn.stylefeng.guns.modular.fruits.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * 销售渠道
 */
@TableName("fruits_basic_channel")
@Data
public class FruitsBasicChannel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 销售渠道
     */
    @TableField("channel_name")
    private String channelName;

    /**
     * 结算方式
     */
    @TableField("settlement_method")
    private String settlementMethod;

    /**
     * 性质
     */
    @TableField("nature")
    private String nature;

    /**
     * 付款方式
     */
    @TableField("payment_method")
    private String paymentMethod;

    /**
     * 付款账户
     */
    @TableField("account")
    private String account;

    /**
     * 开户行
     */
    @TableField("banks")
    private String banks;

    /**
     * 开户地
     */
    @TableField("banks_address")
    private String banksAddress;

    /**
     * 运输方式
     */
    @TableField("transport_model")
    private String transportModel;

    /**
     * 描述
     */
    @TableField("details")
    private String details;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * v3
     */
    @TableField("v3")
    private String v3;

    /**
     * v4
     */
    @TableField("v4")
    private String v4;

    @Override
    public String toString() {
        return "FruitsBasicChannel{" +
        "id=" + id +
        ", channelName=" + channelName +
        ", settlementMethod=" + settlementMethod +
        ", nature=" + nature +
        ", paymentMethod=" + paymentMethod +
        ", account=" + account +
        ", banks=" + banks +
        ", banksAddress=" + banksAddress +
        ", transportModel=" + transportModel +
        ", details=" + details +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", v3=" + v3 +
        ", v4=" + v4 +
        "}";
    }
}
